package top.infopub.model.fia;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import top.infopub.generic.GenericEntity;

import java.util.Date;
import java.util.List;

/** 预算管理类型表(FIA_BUDGET_TYPES) **/
public class BudgetTypes extends GenericEntity  {
	private static final long serialVersionUID = 1L;

	/** SGUID */
	private String id;

	/** 类型编码 */
	private String typeId;

	/** 类型序号 */
	private String typeNo;

	/** 类型名称 */
	private String typeName;

	/** 排序字段 */
	private Integer sortNo;

	/** 添加人 */
	private String addBy;

	/** 添加时间 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date addTime;

	/** 最后修改人 */
	private String uptBy;

	/** 最后修改时间 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date uptTime;

	/** 父级ID */
	private String parentId;

	/** 层级 */
	private String types;

	/** 类型列表 */
	private List<BudgetTypes> subTypeList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Integer getSortNo() {
		return sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	public String getAddBy() {
		return addBy;
	}

	public void setAddBy(String addBy) {
		this.addBy = addBy;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getUptBy() {
		return uptBy;
	}

	public void setUptBy(String uptBy) {
		this.uptBy = uptBy;
	}

	public Date getUptTime() {
		return uptTime;
	}

	public void setUptTime(Date uptTime) {
		this.uptTime = uptTime;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public List<BudgetTypes> getSubTypeList() {
		return subTypeList;
	}

	public void setSubTypeList(List<BudgetTypes> subTypeList) {
		this.subTypeList = subTypeList;
	}

	public String getTypeNo() {
		return typeNo;
	}

	public void setTypeNo(String typeNo) {
		this.typeNo = typeNo;
	}

	public String getTypes() {
		return types;
	}

	public void setTypes(String types) {
		this.types = types;
	}
}